//
//  ApplePayPaymentResult.swift
//  tappay_charge
//
//  Created by Warren L on 2024/7/17.
//

struct TappayPaymentResult {
    var success: Bool
    var status: Int?
    var message: String?
    var prime: String?
    
    init(success: Bool, status: Int? = nil, message: String? = nil, prime: String? = nil) {
        self.success = success
        self.status = status
        self.message = message
        self.prime = prime
    }
    
    
    func toDictionary() -> [String: Any?] {
      return [
        "success": success,
        "status": status,
        "message": message,
        "prime": prime,
      ]
    }
}
